#include "../../registration/Projects/Registration/Server/IO.h"
#include <gtest/gtest.h>
#include <gmock/gmock.h>

#include <boost/fusion/include/boost_tuple.hpp>
#include <boost/tuple/tuple_comparison.hpp    > 

// ------------------------------------------------------------------------- //
TEST(IO, Test0) {
   boost::tuple<char, long, double> Tuple0('a', 10, .1);
   boost::tuple<char, long, double> Tuple1('b', 20, .2);
   std::stringstream Stream;
   IO::Write(Stream, Tuple0);
   IO::Read (Stream, Tuple1);
   EXPECT_EQ(Tuple0, Tuple1);
}

// ------------------------------------------------------------------------- //
int main(int argc, char** argv)
{
   return testing::InitGoogleTest(&argc, argv), RUN_ALL_TESTS();
}

